package com.worthtech.billportal.bean;



/**
 * PosBindinfoId entity. @author MyEclipse Persistence Tools
 */

public class PosBindinfoId  implements java.io.Serializable {


    // Fields    

     private String custTerm;
     private String custType;
     private String custFlag;


    // Constructors

    /** default constructor */
    public PosBindinfoId() {
    }

    
    /** full constructor */
    public PosBindinfoId(String custTerm, String custType, String custFlag) {
        this.custTerm = custTerm;
        this.custType = custType;
        this.custFlag = custFlag;
    }

   
    // Property accessors

    public String getCustTerm() {
        return this.custTerm;
    }
    
    public void setCustTerm(String custTerm) {
        this.custTerm = custTerm;
    }

    public String getCustType() {
        return this.custType;
    }
    
    public void setCustType(String custType) {
        this.custType = custType;
    }

    public String getCustFlag() {
        return this.custFlag;
    }
    
    public void setCustFlag(String custFlag) {
        this.custFlag = custFlag;
    }
   



   public boolean equals(Object other) {
         if ( (this == other ) ) return true;
		 if ( (other == null ) ) return false;
		 if ( !(other instanceof PosBindinfoId) ) return false;
		 PosBindinfoId castOther = ( PosBindinfoId ) other; 
         
		 return ( (this.getCustTerm()==castOther.getCustTerm()) || ( this.getCustTerm()!=null && castOther.getCustTerm()!=null && this.getCustTerm().equals(castOther.getCustTerm()) ) )
 && ( (this.getCustType()==castOther.getCustType()) || ( this.getCustType()!=null && castOther.getCustType()!=null && this.getCustType().equals(castOther.getCustType()) ) )
 && ( (this.getCustFlag()==castOther.getCustFlag()) || ( this.getCustFlag()!=null && castOther.getCustFlag()!=null && this.getCustFlag().equals(castOther.getCustFlag()) ) );
   }
   
   public int hashCode() {
         int result = 17;
         
         result = 37 * result + ( getCustTerm() == null ? 0 : this.getCustTerm().hashCode() );
         result = 37 * result + ( getCustType() == null ? 0 : this.getCustType().hashCode() );
         result = 37 * result + ( getCustFlag() == null ? 0 : this.getCustFlag().hashCode() );
         return result;
   }   





}